#!/usr/bin/env bash
set -euxo pipefail


if test ${CI:-} = true
then
  ./scripts/setup-distribute-linux
fi

# Create fonts directory
mkdir -p android/app/src/main/assets/fonts

# Get fonts from eigen s3 bueck
aws s3 cp s3://artsy-citadel/eigen/fonts.tar.gz android/app/src/main/assets/fonts

# Extract fonts from the fonts directory
cd android/app/src/main/assets/fonts
tar -xvzf fonts.tar.gz
rm fonts.tar.gz
